﻿using LowCoding.Domain.Entity;
using LowCoding.Domain.Entity.Sys;
using Microsoft.EntityFrameworkCore;

namespace LowCoding.Domain
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions<MyDbContext> options) : base(options)
        {

        }

        public virtual DbSet<SysUser> SysUser { get; set; }

        public virtual DbSet<SysRole> SysRole { get; set; }

        public virtual DbSet<SysUserrole> SysUserrole { get; set; }

        public virtual DbSet<SysModule> SysModule { get; set; }

        public virtual DbSet<SysRight> SysRight { get; set; }
    }
}
